import React from 'react';
import { render } from '@testing-library/react-native';
import App from '../App';

jest.mock('@react-navigation/native', () => ({
  NavigationContainer: ({ children }: { children: React.ReactNode }) => (
    <>{children}</>
  ),
}));

jest.mock('../src/screens/GameScreen', () => () => (
  <></>
));

it('should render without crashing', () => {
  render(<App />);
});
